<template>
    {{ count }}
    <el-button @click="addCount">addCount</el-button>
</template>

<script>
import { ref } from 'vue';

export default {
    name: 'Home',
    setup () {
        const count = ref(0);
        const addCount = () => {
            count.value += 1;
        };
        return {
            count, addCount,
        };
    },
};
</script>
